package com.ruoyi.complex.domain;

import java.math.BigDecimal;
import io.swagger.v3.oas.annotations.media.Schema;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 综测加减分具体项目对象 complex_item
 * 
 * @author wky
 * @date 2024-08-10
 */
@Schema(description = "综测加减分具体项目对象")
public class ComplexItem extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**  */
    @Schema(defaultValue = "")
    private Long itemId;
    /** 项目描述 */
    @Schema(defaultValue = "项目描述")
    @Excel(name = "项目描述")
    private String itemDescription;
    /** 目录id */
    @Schema(defaultValue = "目录id")
    private Long directoryId;
    /** 限制次数 */
    @Schema(defaultValue = "限制次数")
    @Excel(name = "限制次数")
    private Long limit;
    /** 分数 */
    @Schema(defaultValue = "分数")
    @Excel(name = "分数")
    private Double score;
    /** 顶层目录 */
    @Schema(defaultValue = "顶层目录")
    @Excel(name = "顶层目录")
    private String ancestorName;

    public void setItemId(Long itemId) {
        this.itemId = itemId;
    }

    public Long getItemId() {
        return itemId;
    }

    public void setItemDescription(String itemDescription) {
        this.itemDescription = itemDescription;
    }

    public String getItemDescription() {
        return itemDescription;
    }

    public void setDirectoryId(Long directoryId) {
        this.directoryId = directoryId;
    }

    public Long getDirectoryId() {
        return directoryId;
    }

    public void setLimit(Long limit) {
        this.limit = limit;
    }

    public Long getLimit() {
        return limit;
    }

    public void setAncestorName(String ancestorName) {
        this.ancestorName = ancestorName;
    }

    public String getAncestorName() {
        return ancestorName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("itemId", getItemId())
                .append("itemDescription", getItemDescription())
                .append("directoryId", getDirectoryId())
                .append("limit", getLimit())
                .append("score", getScore())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .append("ancestorName", getAncestorName())
                .toString();
    }

    public static long getSerialversionuid() {
        return serialVersionUID;
    }

    public Double getScore() {
        return score;
    }

    public void setScore(Double score) {
        this.score = score;
    }
}